<%= render :partial => 'menu' -%>

<div id="product-description">
  <% for column in Product.content_columns %>
  <p>
    <b><%= column.human_name %>:</b> <%=h @product.send(column.name) %>
  </p>
  <% end %>
  <% unless @product.variations.empty? %>
    <p>
      <label for="attributes"><b>Variations:</b></label><br/>
      <% for v in @product.variations %>
        <table>
          <tr>
            <td valign="top"><%= v.name -%></td>
          </tr>
        </table>
      <% end %>
      <br/>
    </p>
  <% end%>
  <p><b>Tags:</b> <%= @product.tag_list %></p>
</div>
<div id="product-image">
  <%= image_tag 'products/' + @product.filename %>
</div>